<div class="right-conbox" ng-controller="unitDetailController">
    <div class="content-box">
        <div class="content-box-detail ">
            <div class="conBox-detail-left fl">
                <!---设备图，在线状态，电池展示-->
                <div class="conBox-unitdetail-show" style="z-index: 1">
                        <span class="unitdetil-photo">
                            <!--src="image/device.png"-->
                            <img ng-src="{{serviceHttp + unitDeaTData.photo}}" data-toggle="modal"
                                 data-target="#updateUnitPhoto"
                                 data-backdrop="static"/>
                        </span>
                        <span class="unitdetil-isline">
                            <div class="unitdetil-miaoshu">
                                在线状态<i>({{unitDeaTData.monitorDevice.online===0?"离线":"在线"}})</i></div>
                            <div class="unitshow-progress">
                                <div ng-class="{progress: true, 'progress-striped': vm.striped}">
                                    <div class="progress-bar"
                                         ng-style="{'background-color': unitDeaTData.monitorDevice ?(unitDeaTData.monitorDevice.online==1 ? '#7DD320' : '#FF5A59') : '#7DD320'}"
                                         style="width: 100%">
                                    </div>
                                </div>
                            </div>
                        </span>
                        <span class="unitdetil-battery">
                            <div class="unitdetil-miaoshu">电池状态<i>({{unitDeaTData.monitorDevice.battery}}%)</i></div>
                            <div class="unitshow-progress">
                                <div ng-class="{progress: true, 'progress-striped': vm.striped}">
                                    <div ng-class="['progress-bar', vm.style]"
                                         ng-style="{width: unitDeaTData.monitorDevice.battery + '%'}">
                                    </div>
                                </div>
                            </div>
                        </span>
                        <span class="unitdetil-set">
                            <!---设备层Table-->
                            <img src="image/set-table.png" class="UniticonStyle pl20 pt10" id="unit-ceng-table"
                                 ng-click="pangDingRoleInit()"/>
                            <!--修改设备警报参数-->
                            <img src="image/set.png" class="UniticonStyle pl20 pt10" data-toggle="modal"
                                 data-target="#updateUnitAlertCS" ng-show="currenyManagerId==CurrentUserId"
                                 data-backdrop="static" ng-click="getDeviceAlterParameter()"/>
                        </span>
                </div>
                <!--设备折线图-->
                <div class="conBox-detail-params">
                    <div class="unit-params-box" ng-repeat="inspect in inspects">
                        <div class="canvasBox">
                            <div id="canvasDiv{{$index}}" style="width: 490px; height: 223px; margin: 0 auto"></div>
                        </div>
                    </div>
                </div>
            </div>
            <!--设备层-->
            <div class="unit-ceng-conbox">
                <div style=" font-size:16px; margin: 3% 0 ;text-align:center;"><b>设备层概况</b>
                    <img src="image/del.png" id="delUnitCeng"
                         style="float: right; padding-right: 10px; cursor: pointer ">
                </div>
                <div id="toolbar" class="btn-group" style="float: right; margin-bottom: 15px; margin-right: 5%"
                     ng-show="hasShowManager != 1" ng-click="AddUnitCengInit()">
                    <button id="btn_add" type="button" class="btn btn-default" data-toggle="modal"
                            data-target="#addUnitDetail" data-backdrop="static">
                        <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>新 增
                    </button>
                </div>
                <table class="table table-bordered table-striped ceng_Tab">
                    <tr>
                        <td>编号</td>
                        <td>层数</td>
                        <td>样品名称</td>
                        <td>样品类型</td>
                        <td>样品数量</td>
                        <td>层管理员</td>
                        <td>负责人手机号</td>
                        <td>有效期</td>
                        <td ng-show="hasShowManager != 1">操作</td>
                    </tr>
                    <tr ng-repeat="unitfloor in unitdataFloors">
                        <td>{{$index+1}}</td>
                        <td ng-bind="unitfloor.floorNum"></td>
                        <td ng-bind="unitfloor.name"></td>
                        <td ng-bind="unitfloor.type"></td>
                        <td ng-bind="unitfloor.productNum"></td>
                        <td ng-bind="unitfloor.scientist.userName"></td>
                        <td ng-bind="unitfloor.mobile"></td>
                        <td ng-bind="unitfloor.overDate | date:'yyyy/MM/dd'"></td>
                        <td ng-show="hasShowManager != 1">
                            <a href="javascript:void(0)" data-toggle="modal" data-target="#updateUnitCengNews"
                               data-backdrop="static" class="Tab-update" style="padding-left: 8px;padding-right: 8px"
                               ng-click="UpdateUnitFloorInfo(unitfloor)">修改</a>
                            <!---设备层删除，只有科学家有权限删除-->
                            <a href="javascript:void(0)" data-toggle="modal" data-target="#deleteUnitCengNews"
                               data-backdrop="static" ng-show="hasShowManager != 1"
                               ng-click="deleteUnitCengInit(unitfloor)" style="color: red;">删除</a>
                        </td>
                    </tr>
                </table>
            </div>

            <div class="conBox-detail-right fl">
                <!--设备详情-->
                <div class="unit_data">
                    <p style="padding: 15px 0 8px 0">
                        <span class="unitlist-title">设备基本概况</span>
                            <span class="unitlist-icon" ng-show="currenyManagerId==CurrentUserId">
                                <img src="image/set.png" class="UniticonStyle" data-toggle="modal"
                                     data-target="#updateUnitDetail" data-backdrop="static"
                                     ng-click="updateUnitDetailInit()"/>
                           </span>
                    </p>
                    <ul>
                        <li><i>当前设备健康分数：</i>
                            <span style="width: 129px; color: #88D834">{{inspectData.score.toFixed(2)}} 分</span></li>
                        <li><i>设备编号：</i><span ng-bind="unitDeaTData.code"></span></li>
                        <li><i>设备名称：</i><span ng-bind="unitDeaTData.name==undefined?'':unitDeaTData.name"></span></li>
                        <li><i>设备种类：</i><span ng-bind="unitDeaTData.deviceType.name"></span></li>
                        <li><i>设备品牌：</i><span ng-bind="unitDeaTData.model==undefined?'':unitDeaTData.model"></span></li>
                        <li><i>制造商：</i><span ng-bind="unitDeaTData.creator==undefined?'':unitDeaTData.creator"></span></li>
                        <li><i>购置日期：</i><span ng-bind="unitDeaTData.purchase | date:'yyyy/MM/dd'"></span>
                        </li>
                        <li><i>最新维修时间：</i>
                            <span ng-bind="unitDeaTData.maintainDate | date:'yyyy/MM/dd'"></span></li>
                        <li><i>维护周期：</i><span ng-bind="unitDeaTData.maintain==undefined?'':unitDeaTData.maintain"></span></li>
                        <li><i>设备管理员：</i><span ng-bind="unitDeaTData.manager.userName"></span></li>
                        <li><i>终端编号：</i><span ng-bind="unitDeaTData.monitorDevice.number"></span></li>
                    </ul>
                </div>
                <!--设备资料-->
                <div class="upload_unit_data">
                    <span class="unitlist-title" style="padding: 8px 0 0 10px">设备资料<i
                            style=" color: #A5A5A5; font-size: 10px;">（上传相关图纸，检测报告）</i></span>
                    <div class="pl15 pt15">
                        <span class="pl15" style="padding-bottom: 10px">上传资料：</span>
                        <input type="button" style="line-height: 24px;height:28px;" data-toggle="modal"
                               data-target="#uploadUnitFile"
                               data-backdrop="static" value="选择文件" ng-click="uploadUnitFileInit()"/>
                        <!--<span style="color: #002060" data-toggle="modal" data-target="#uploadUnitFile"-->
                        <!--data-backdrop="static"> 点击上传 </span>-->
                    </div>
                    <div class="pl15  pt15">
                        <span class="pl15">下载资料：</span>
                        <input type="button" value="下载文件" style="line-height: 24px;height:28px;" data-toggle="modal"
                               data-target="#downLoadFileModel"
                               data-backdrop="static" ng-click="downLoadFileInit()"/>
                    </div>
                </div>
            </div>
            <!-- Modal---修改设备图-->
            <div id="updateUnitPhoto" class="modal hide fade" tabindex="-1" role="dialog"
                 aria-labelledby="updateUnitAlertCSLable"
                 aria-hidden="true">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h4 id="updateUnitPhotoLable"> 修改设备详情图 </h4>
                </div>
                <div class="modal-body">
                    <div class="base-style" style="padding-bottom:20px; padding-left: 5%">
                        <span>请选择设备图：</span><input id="unitfileToUpload" name="file" type="file"
                                                   style="margin: 12px 0px"/>
                        <div class="col-md-12">
                            <img id="addunitphotoNew" ng-src=""
                                 style="max-width:200px;max-height:200px;margin:0 auto;display:block;">
                        </div>
                        <!--<p><span>设备名称：</span><input type="text" ng-model="unit_name" style="width:200px; "/></p>-->
                        <!--<p><span>设备编号：</span><input type="text" ng-model="unit_code" style="width:200px; "/></p>-->
                        <!--<p>-->
                        <!--<span>请选择设备种类：</span>-->
                        <!--<select ng-model="selected" ng-options="unitType.name for unitType in selectUnit">-->
                        <!--<option value="unitType.id">&#45;&#45;请选择&#45;&#45;</option>-->
                        <!--</select>-->
                        <!--</p>-->
                        <!--<p><span>设备所在位置的横坐标：</span><input type="text" ng-model="unit_xpoint" style="width:200px; "/></p>-->
                        <!--<p><span>设备所在位置的纵坐标：</span><input type="text" ng-model="unit_ypoint" style="width:200px; "/></p>-->
                    </div>
                </div>
                <div class="modal-footer">
                    <button class="btn" data-dismiss="modal" aria-hidden="true">关 闭</button>
                    <button class="btn btn-primary" data-dismiss="modal" aria-hidden="true"
                            ng-click="updateUnitPhotoInfo();">保 存
                    </button>
                </div>

            </div>

            <!-- Modal---修改设备报警参数-->
            <div id="updateUnitAlertCS" class="modal hide fade" tabindex="-1" role="dialog"
                 aria-labelledby="updateUnitAlertCSLable"
                 aria-hidden="true">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h4 id="updateUnitAlertCSLable">修改设备报警参数</h4>
                </div>
                <div class="modal-body">
                    <div class="container" style="width:500px; height:450px; padding-bottom:20px;">
                        <div class="add_tj">
                            <ul class="table-ul">
                                <li ng-repeat="deviceInspect in devicePara.list">
                                    <div class="L_blockStyle">
                                        <span ng-bind="deviceInspect.name"></span>
                                    </div>
                                    <div class="R_blockStyle"  ng-show="deviceInspect.id!=8">
                                        <p>
                                            <span>标准参数：</span>
                                            <input type="text" ng-disabled="!deviceInspect.chosed"
                                                   style="width:80px;"
                                                   ng-model="deviceInspect.standard" placeholder="请输入标准值"/>
                                        </p>
                                        <p>
                                            <span>黄色警报参数：</span>
                                            <input type="text" ng-disabled="!deviceInspect.chosed"
                                                   style="width:80px; margin-right: 6px;"
                                                   ng-model="deviceInspect.lowDown" placeholder="请输入报警低值"/>
                                            <input type="text" ng-disabled="!deviceInspect.chosed"
                                                   style="width:80px; "
                                                   ng-model="deviceInspect.lowUp" placeholder="请输入报警高值"/>
                                        </p>
                                        <p><span>红色警报参数：</span>
                                            <input type="text" ng-disabled="!deviceInspect.chosed"
                                                   style="width:80px; margin-right: 6px; "
                                                   ng-model="deviceInspect.highDown" placeholder="请输入报警低值"/>
                                            <input type="text" ng-disabled="!deviceInspect.chosed"
                                                   style="width:80px; " ng-model="deviceInspect.highUp"
                                                   placeholder="请输入报警高值"/></p>
                                        </p>

                                    </div>
                                    <div style="clear: both"></div>
                                </li>
                            </ul>

                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button class="btn" data-dismiss="modal" aria-hidden="true">关 闭</button>
                    <button class="btn btn-primary" data-dismiss="modal" aria-hidden="true"
                            ng-click="updateAlertCSInfo();">保 存
                    </button>
                </div>

            </div>

            <!-- Modal---修改设备层管理-->
            <div id="updateUnitCengNews" class="modal hide fade" tabindex="-1" role="dialog"
                 aria-labelledby="updateUnitCengLable"
                 aria-hidden="true">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h4 id="updateUnitCengLable">修改设备层管理</h4>
                </div>
                <div class="modal-body">
                    <div class="base-style" style="padding-bottom:20px">
                        <p>
                            <lable>所属层：</lable>
                            <input type="text" ng-model="floorNum">
                            <lable>样品类型：</lable>
                            <input type="text" ng-model="productType">
                        </p>
                        <p>
                            <div id="datetimepicker_ef_update" class="input-append date" style="margin-left:4px;display: inline-block;">
                               <lable>样品有效期：</lable>
                               <input type="text" style="width: 104px" id="effective_update" ng-model="effective" date-format>
                               <span class="add-on"><i data-time-icon="icon-time" data-date-icon="icon-calendar"></i></span>
                           </div>
                               <lable>样品名称：</lable>
                               <input type="text" ng-model="name">
                        </p>
                        <p>
                            <lable>样品数量：</lable>
                            <input type="text" ng-model="productNum">
                        </p>
                    </div>
                </div>
                <div class="modal-footer">
                    <button class="btn" data-dismiss="modal" aria-hidden="true">关 闭</button>
                    <button class="btn btn-primary" data-dismiss="modal" aria-hidden="true"
                            ng-click="updatefloorInfo();">保 存
                    </button>
                </div>

            </div>

            <!-- Modal---删除设备层管理-->
            <div id="deleteUnitCengNews" class="modal hide fade" tabindex="-1" role="dialog"
                 aria-labelledby="deleteUnitCengLable"
                 aria-hidden="true">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h4 id="deleteUnitCengLable">删除设备层信息</h4>
                </div>
                <div class="modal-body" style="min-height: 50px !important;">
                    <div class="container" style="width:500px;">
                        <div class="add_tj">
                            <div style="font-size: 14px; text-align: center">
                                确定删除？
                            </div>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button class="btn" data-dismiss="modal" aria-hidden="true">关 闭</button>
                    <button class="btn btn-primary" data-dismiss="modal" aria-hidden="true"
                            ng-click="SavedeleteUnitCengInfo()">保 存
                    </button>
                </div>
            </div>

            <!-- Modal---新增设备层管理-->
            <div id="addUnitDetail" class="modal hide fade" tabindex="-1" role="dialog"
                 aria-labelledby="addUnitDetailLable" aria-hidden="true">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h4 id="addUnitDetailLable">新增设备层管理</h4>
                </div>
                <div class="modal-body">
                    <div class="base-style" style="padding-bottom:20px">
                        <p>
                            <lable>所属楼层：</lable>
                            <input type="text" ng-model="floorNum" id="floorNum">
                            <lable>样品类型：</lable>
                            <input type="text" ng-model="productType" id="productType">

                        </p>
                        <p>
                            <div id="datetimepicker_ef_add" class="input-append date" style="margin-left:4px;display: inline-block;">
                               <lable>样品有效期：</lable>
                               <input type="text" style="width: 104px" id="effective_add">
                               <span class="add-on"><i data-time-icon="icon-time" data-date-icon="icon-calendar"></i></span>
                            </div>
                            <lable>样品数量：</lable>
                            <input type="text" ng-model="productNum" id="productNum">
                        </p>
                        <p>
                            <lable>样品名称：</lable>
                            <input type="text" ng-model="name" id="name">
                        </p>
                        <!--<p>-->
                        <!--<lable>负责人手机号：</lable>-->
                        <!--<input type="text" ng-model="mobile" id="mobile">-->
                        <!--<lable>负责人邮箱：</lable>-->
                        <!--<input type="text" ng-model="email" id="email">-->
                        <!--</p>-->
                    </div>
                </div>
                <div class="modal-footer">
                    <button class="btn" data-dismiss="modal" aria-hidden="true">关 闭</button>
                    <button class="btn btn-primary" data-dismiss="modal" aria-hidden="true"
                            ng-click="addfloorInfo()">保 存
                    </button>
                </div>

            </div>

            <!-- Modal---修改设备基本概况-->
            <div id="updateUnitDetail" class="modal hide fade" tabindex="-1" role="dialog"
                 aria-labelledby="updateUnitDetailLable"
                 aria-hidden="true">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h4 id="updateUnitTypeLable">修改设备层管理</h4>
                </div>
                <div class="modal-body">
                    <div class="base-style" style="padding-bottom:20px;width: 570px;">
                        <p>
                            <lable>设备编号：</lable>
                            <input type="text" ng-model="unitDeaTData.code" readonly>
                            <lable>设备名称：</lable>
                            <input type="text" ng-model="unitDeaTData.name">
                        </p>
                        <p>
                            <lable>设备种类：</lable>
                            <input type="text" ng-model="unitDeaTData.deviceType.name" readonly>
                            <lable>设备品牌：</lable>
                            <input type="text" ng-model="unitDeaTData.model">
                        </p>
                        <p>
                            <lable>制造商：</lable>
                            <input type="text" ng-model="unitDeaTData.creator">
                            <lable>维护周期：</lable>
                            <input type="text" ng-model="unitDeaTData.maintain">
                        </p>
                        <p>
                        <div id="datetimepicker" class="input-append date" style="margin-left:4px;display: inline-block;">
                            <lable>购置时间：</lable>
                            <input type="text" style="width: 104px" id="purchaseData" ng-model="unitDeaTData.purchase" date-format>
                            <span class="add-on"><i data-time-icon="icon-time" data-date-icon="icon-calendar"></i></span>
                        </div>
                        <div id="datetimepicker1" class="input-append date" style="margin-left:4px;display: inline-block;">
                            <lable>最新维修时间：</lable>
                            <input type="text" style="width: 104px" id="maintainDate" ng-model="unitDeaTData.maintainDate" date-format>
                            <span class="add-on"><i data-time-icon="icon-time" data-date-icon="icon-calendar"></i></span>
                        </div>
                        </p>
                        <p>
                            <lable>设备管理员：</lable>
                            <select style="width: 147px" ng-model="selectManager" ng-options="u.name +' (' + u.userName + ')' for u in selectManagerList">
                                <option value="u.id"></option>
                            </select>
                            <lable>终端编号：</lable>
                            <input type="text" ng-model="unitDeaTData.monitorDevice.number" readonly>
                        </p>
                        <p>
                            <lable>设备横坐标：</lable>
                            <input type="text" ng-model="unitDeaTData.xPoint" id="unit_xpoint" placeholder="范围（0至780），必填">
                            <lable>设备纵坐标：</lable>
                            <input type="text" ng-model="unitDeaTData.yPoint" id="unit_ypoint" placeholder="范围（0至780），必填">
                        </p>
                        <p><lable>添加科学家：</lable><i>(非必填)</i>
                        <ul class="setCheckboxSty">
                            <li ng-repeat="addTag in selectScientistList">
                                <input type="checkbox" class="checkboxStyle" id={{addTag.id}} name="{{addTag.name}}"
                                       ng-checked="isSelected(addTag.id)" ng-click="updateSelection($event,addTag.id)"/>
                                <span style="padding-bottom: 4px">{{addTag.name}}</span>
                            </li>
                        </ul>
                        </p>
                    </div>
                </div>
                <div class="modal-footer">
                    <button class="btn" data-dismiss="modal" aria-hidden="true">关 闭</button>
                    <button class="btn btn-primary" data-dismiss="modal" aria-hidden="true"
                            ng-click="updateUnitDetail();">保 存
                    </button>
                </div>
            </div>

            <!-- Modal---上传设备文件-->
            <div id="uploadUnitFile" class="modal hide fade" tabindex="-1" role="dialog"
                 aria-labelledby="uploadUnitFileLable"
                 aria-hidden="true" style="min-width: 360px !important;">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h4 id="uploadUnitFileLable"> 上传设备文件 </h4>
                </div>
                <div class="modal-body" style="min-height: 240px !important;">
                    <div class="base-style" style="padding-left: 5%">
                        <p style="padding-bottom: 10px">请选择设备文件：</p>
                        <input id="unitFileUploadToDevice" name="file" type="file"/>
                        <div class="col-md-12">
                            <img id="addFileUNITphotoNew" ng-src="" style="max-width:200px;max-height:200px;margin:0 auto;display:block;">
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button class="btn" data-dismiss="modal" aria-hidden="true">关 闭</button>
                    <button class="btn btn-primary" data-dismiss="modal" aria-hidden="true"
                            ng-click="uploadDeviceFile();">保 存
                    </button>
                </div>

            </div>

            <!-- Modal---下载设备文件-->
            <div id="downLoadFileModel" class="modal hide fade" tabindex="-1" role="dialog"
                 aria-labelledby="downLoadFileModelLable"
                 aria-hidden="true" style="min-width: 560px !important;">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h4 id="downLoadFileModelLable"> 下载设备文件 </h4>
                </div>
                <div class="modal-body">
                    <div class="base-style downLoadFile"
                         style="padding-bottom:20px; width: 100%">
                        <table class="table table-bordered table-striped">
                            <tr>
                                <td>文件名称</td>
                                <td>文件路径</td>
                                <td>创建日期</td>
                                <td>操作</td>
                            </tr>
                            <tr ng-repeat="file in unitDeaTData.files">
                                <td ng-bind="file.name"></td>
                                <td ng-bind="file.url"></td>
                                <td ng-bind="file.createDate | date:'yyyy/MM/dd'"></td>
                                <td style="width: 85px;">
                                    <a href="javascript:void(0);" class="pr10" style="color: red"
                                       ng-click="deletedFile(file.id)">删除</a>
                                    <a href="javascript:void(0);" ng-click="downloadFile(file.id)">下载</a>
                                </td>
                            </tr>
                        </table>

                    </div>
                </div>
                <div class="modal-footer">
                    <button class="btn" data-dismiss="modal" aria-hidden="true">关 闭</button>
                </div>

            </div>

        </div>
    </div>
</div>
<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
<script>
    $(function () {
        $(".unit-ceng-conbox").hide();
        $("#unit-ceng-table").click(function () {
            $(".unit-ceng-conbox").slideToggle("fast");
        });
        $("#delUnitCeng").click(function () {
            $(".unit-ceng-conbox").hide();
        });
    });
</script>
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap-datetimepicker.min.css">
<script type="text/javascript" src="bootstrap/js/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript" src="bootstrap/js/bootstrap-datetimepicker.zh-CN.js"></script>
<script type="text/javascript" src="js/ajaxfileupload.js"></script>
<script type="text/javascript">
    $('#datetimepicker').datetimepicker({
        format: 'yyyy/MM/dd',
        language: 'zh-CN',
        pickDate: true,
        pickTime: true,
        hourStep: 1,
        minuteStep: 15,
        secondStep: 30,
        autoclose: true,
        todayBtn: true,
        inputMask: true
    });
    $('#datetimepicker1').datetimepicker({
        format: 'yyyy/MM/dd',
        language: 'zh-CN',
        weekStart: 1,
        todayBtn: 1,
        todayHighlight: 1,
        startView: 2,
        forceParse: 0,
        showMeridian: 1,
        todayBtn: true,
        inputMask: true
    });
    $('#datetimepicker_ef_add').datetimepicker({
        format: 'yyyy/MM/dd',
        language: 'zh-CN',
        weekStart: 1,
        todayBtn: 1,
        todayHighlight: 1,
        startView: 2,
        forceParse: 0,
        showMeridian: 1,
        todayBtn: true,
        inputMask: true
    });
    $('#datetimepicker_ef_update').datetimepicker({
        format: 'yyyy/MM/dd',
        language: 'zh-CN',
        weekStart: 1,
        todayBtn: 1,
        todayHighlight: 1,
        startView: 2,
        forceParse: 0,
        showMeridian: 1,
        todayBtn: true,
        inputMask: true
    });
</script>
